﻿using MediatR;
using RearLivestock.Common.Domains.hq;
using RearLivestock.Common.Dtos;

namespace RearLivestock.RBAC.Api.Application.hqApplication.Commands.Departmentss
{
    public class ShowDepartmentCommand : IRequest<Result<PageResultDto<DepartmentDto>>>
    {
        /// <summary>
        /// 当前页
        /// </summary>
        public int PageIndex { get; set; }

        /// <summary>
        /// 每页显示的数量
        /// </summary>
        public int PageSize { get; set; }

        /// <summary>
        /// 部门名称
        /// </summary>
        public string? DepartmentName { get; set; }

        /// <summary>
        /// 部门类型
        /// </summary>
        public int DepartmentTypeId { get; set; }

        /// <summary>
        /// 部门状态
        /// </summary>
        public int DepartmentStatus { get; set; }

    }
}
